package com.mingmen.supplier.model;

import java.util.List;

public class GongYingShangModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-08-18 13:48:52
     * data : [{"supplierId":"670","supplierName":"益农菜业","province":"","city":"","region":"","street":"","zone":"","salesAmount":0,"ordersAmount":0,"score":0,"shipping":"","shippingFee":0,"detailIds":"1295598083966636032","stockState":"","foodSafety":"","detailList":[{"commodityId":"1294154004846624768","specs":"","price":1,"commodityName":"茄子"}],"supplierTel":""}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * supplierId : 670
         * supplierName : 益农菜业
         * province :
         * city :
         * region :
         * street :
         * zone :
         * salesAmount : 0
         * ordersAmount : 0
         * score : 0
         * shipping :
         * shippingFee : 0
         * detailIds : 1295598083966636032
         * stockState :
         * foodSafety :
         * detailList : [{"commodityId":"1294154004846624768","specs":"","price":1,"commodityName":"茄子"}]
         * supplierTel :
         */

        private String supplierId;
        private String supplierName;
        private String province;
        private String city;
        private String region;
        private String street;
        private String zone;
        private int salesAmount;
        private int ordersAmount;
        private int score;
        private String shipping;
        private int shippingFee;
        private String detailIds;
        private String stockState;
        private String foodSafety;
        private String supplierTel;


        public boolean isExpend() {
            return isExpend;
        }

        public void setExpend(boolean expend) {
            isExpend = expend;
        }

        boolean isExpend;
        private List<DetailListBean> detailList;

        public String getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(String supplierId) {
            this.supplierId = supplierId;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public String getStreet() {
            return street;
        }

        public void setStreet(String street) {
            this.street = street;
        }

        public String getZone() {
            return zone;
        }

        public void setZone(String zone) {
            this.zone = zone;
        }

        public int getSalesAmount() {
            return salesAmount;
        }

        public void setSalesAmount(int salesAmount) {
            this.salesAmount = salesAmount;
        }

        public int getOrdersAmount() {
            return ordersAmount;
        }

        public void setOrdersAmount(int ordersAmount) {
            this.ordersAmount = ordersAmount;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public String getShipping() {
            return shipping;
        }

        public void setShipping(String shipping) {
            this.shipping = shipping;
        }

        public int getShippingFee() {
            return shippingFee;
        }

        public void setShippingFee(int shippingFee) {
            this.shippingFee = shippingFee;
        }

        public String getDetailIds() {
            return detailIds;
        }

        public void setDetailIds(String detailIds) {
            this.detailIds = detailIds;
        }

        public String getStockState() {
            return stockState;
        }

        public void setStockState(String stockState) {
            this.stockState = stockState;
        }

        public String getFoodSafety() {
            return foodSafety;
        }

        public void setFoodSafety(String foodSafety) {
            this.foodSafety = foodSafety;
        }

        public String getSupplierTel() {
            return supplierTel;
        }

        public void setSupplierTel(String supplierTel) {
            this.supplierTel = supplierTel;
        }

        public List<DetailListBean> getDetailList() {
            return detailList;
        }

        public void setDetailList(List<DetailListBean> detailList) {
            this.detailList = detailList;
        }

        public static class DetailListBean {
            /**
             * commodityId : 1294154004846624768
             * specs :
             * price : 1.0
             * commodityName : 茄子
             */

            private String commodityId;
            private String specs;
            private double price;
            private String commodityName;

            public String getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(String commodityId) {
                this.commodityId = commodityId;
            }

            public String getSpecs() {
                return specs;
            }

            public void setSpecs(String specs) {
                this.specs = specs;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }
        }
    }
}
